﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StarLabel.label
{
    /// <summary>
    /// Copyright 2019  ZhengJi. All Rights Reserved.
    /// 打印参数定义
    /// </summary>
    public class PrintParam
    {
     
             /// <summary>
        /// MM对应多少点
        /// </summary>
        public int UnitToPoint { get; set; }

        /// <summary>
        /// 打印浓度
        /// </summary>
        public string Density { get; set; }

        /// <summary>
        /// 打印速度
        /// </summary>
        public string Speed { get; set; }

        /// <summary>
        /// 传感器
        /// </summary>
        public string Sensor { get; set; }
       // public string Vertical { get; set; }
        public string Offset { get; set; }
        /// <summary>
        /// 从第几个标签打印
        /// 序号从0开始
        /// </summary>
        public int  StartColumn { get; set; }


        public static PrintParam DefaultPrintParam()
        {
            PrintParam p = new PrintParam();
           
         
            p.UnitToPoint = 8;
            p.Density = "8";
            p.Speed = "3";
            p.Sensor = "0";
           // p.Vertical = "0";
            p.Offset = "0";

            p.StartColumn = 0;


            return p;
        }
    }
}
